amazon-node-app

bamazon mysql & node.js app

This app is creating using node.js and mysql database

bamazon app overview

What is bamazon ?!

bamazon is an app similar to amazon where it’s connected to database that has table that has stores some information about some products!!!

My table has:

  1. Name of the product
  2. Name of the department
  3. Price
  4. Stock quantity

I created 2 files:

Both files are allowing the user to see something and make order, add new order,add stock and view all the items that are currently in the database.

Both files are using prompt so it will ask the user for info about the product or to create new upon loading them.

Orgranizations of the app

bamazonCustomer.js

running bamazonCustomer.js

below i will provide the link to the video to how the app runs

bamazonManager.js

Then i created switch function which is gonna be called whatever is choose from

i created 4 functions that is gonna be called in each of the switch cases

link to the bamazonCustomer.js app video how it works here

link to the bamazonManager.js app video how it works here